<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-01-27 14:29:17
 * @LastEditTime: 2023-07-02 10:12:32
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Http\Controllers\System;


use App\Http\Controllers\Controller;
use App\Http\Services\System\DicService;
use App\Models\MenuModel;
use App\Http\Services\System\MenuService;
use App\Http\Services\System\UserService;
use Illuminate\Http\Request;
use Illuminate\Support\Str;

class DicController extends Controller
    {
    public function __construct(DicService $service)
        {
        $this->service = $service;
        }
    public function getCategory()
        {
        return $this->service->getCategory();
        }
    public function list()
        {
        return $this->service->list();
        }
    public function getDicData(Request $request)
        {
        return $this->service->getDicData($request);
        }
    public function get()
        {
        return $this->service->get();
        }
    public function saveCategory(Request $request)
        {
        return $this->service->saveCategory($request);
        }
    public function deleteCategory(Request $request)
        {
        return $this->service->deleteCategory($request);
        }
    public function save(Request $request)
        {
        return $this->service->save($request);
        }
    public function delete(Request $request)
        {
        return $this->service->delete($request);
        }

    public function sort()
        {
        return $this->service->sort();
        }
    }